package com.jk.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jk.dto.TbStudent;
import org.apache.ibatis.annotations.Update;

public interface TbStudentMapper extends BaseMapper<TbStudent> {

    @Update("update tb_student set status = '1' where id = #{id}")
    void upstatus(TbStudent tbStudent);
    @Update("update tb_student set status = '0' where id = #{id}")
    void updatestatus(TbStudent tbStudent);
}
